//
//  SortSleepView.h
//  project
//
//  Created by 黄建华 on 2019/1/11.
//  Copyright © 2019年 黄建华. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SortSleepView : UIView

@property (nonatomic, strong) UIView        *chartView;
@property (nonatomic, strong) CALayer       *backGroundLayer;
@property (nonatomic, strong) SNCustomLabel *selectDateLabel;
@property (nonatomic, strong) SNCustomLabel *valueLabel;
@property (nonatomic, strong) SNCustomLabel *unitLabel;


// 1 为睡眠时长 2 为入睡时间
- (void)UpdateViewWithType:(SelectDateType)type withArray:(NSArray *)dataArray withCurrent:(NSInteger)current withSleepType:(NSInteger)sleepType;

@end

NS_ASSUME_NONNULL_END
